<?php
/**
 * 商品类型表
 */
namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class MallGoodsType extends Model
{
    public $timestamps = false;
    protected $table = 'mall_goods_type';

    /**
     * 获取商品的类型列表
     * @return mixed
     */
    public function getGoodsTypeList()
    {
        return $this -> get() -> toArray();
    }
}
